/*
 * Styles for a range slider
 */

input[type=range] {
  -webkit-appearance: none;
  margin: 0;
}
input[type=range]:focus {
  outline: none;
}

//CHROME
input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  animate: 0.2s;
  box-shadow: none;
  background: #ffffff;
  border: none;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: none;
  height: 40px;
  width: 20px;
  background-image: url("/img/slider_handle_normal.svg");
  background-repeat: no-repeat;
  background-position-x: -10px;
  background-position-y: -6px;
  background-size: 200%;
  -webkit-appearance: none;
  margin-top: -20px;
  z-index: 1;
}

input[type=range].inactive:hover::-webkit-slider-thumb {

    cursor: pointer;
    background-image: url("/img/slider_handle_roll.svg");
    background-position-y: -5px;

}
input[type=range].inactive:active::-webkit-slider-thumb {

    cursor: pointer;
    background-image: url("/img/slider_handle_roll.svg");
    background-position-y: -5px;

}

//FIREFOX
input[type=range]::-moz-range-track {
  border: none;
  width: 100%;
  height: 1px;
  animate: 0.2s;
  background: #ffffff;
  box-shadow: none;
  outline:none;
}
input[type=range]::-moz-focus-outer {
  border: 0;
}

input[type=range]::-moz-range-thumb {
  box-shadow: none;
  height: 40px;
  width: 20px;
  border: none;
  background: none;
  background-image: url("/img/slider_handle_normal.svg");
  background-repeat: no-repeat;
  background-position-x: -10px;
  background-position-y: -6px;
  background-size: 200%;
  margin-top: -20px;
  z-index: 1;
}
input[type=range].inactive:hover::-moz-range-thumb {

    cursor: pointer;
    background-image: url("/img/slider_handle_roll.svg");
    background-position-y: -5px;

}
input[type=range].inactive:active::-moz-range-thumb {

    cursor: pointer;
    background-image: url("/img/slider_handle_roll.svg");
    background-position-y: -5px;

}